package com.dotstone.chipism.util;


public class QRCodeContentManager {
	public static QRCodeContentManager mQRCodeContentManager= null;
	private String token;
	private String phone;
	private String userType;

	public static QRCodeContentManager getInstance() {
		if (mQRCodeContentManager == null) {
			mQRCodeContentManager = new QRCodeContentManager();// 单例对象实例
		}
		return mQRCodeContentManager;
	}

	private QRCodeContentManager() {
		
	}

	private Object readResolve() {
		return getInstance();
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}
	
	public void clear(){
		userType = null;
		phone = null;
		token = null;
	}
	
}
